package com.bqtt.tumor.demo.entity;

import java.sql.Timestamp;
import java.util.Map;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;


@Entity
@Table(name="treatment_track_history") 
public class TreatmentTrackHistory  implements IDBEntity{

	
	@Id 
    @Column(name="treatment_track_history_id")    
    @GeneratedValue(strategy=GenerationType.IDENTITY) 
	private int treatment_track_history_id;
	
	@Column(name="medical_case_code", length= 25)   
	private String medical_case_code;
	
	@Column(name="treat_datetime")   
	private Timestamp treat_datetime;
	
	@Column(name="diag_methods", length= 1000)   
	private String diag_methods;
	
	@Column(name="treat_methods", length= 1000)   
	private String treat_methods;
	
	@Column(name="hispital_code", length= 25)   
	private String hispital_code;

	
	@Transient
	private String displayName;
	
	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}
	
	
	@Override
	public Map<String, Object> getSQLValidAttributes() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void fillStringField() {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void fillDBfields() {
		// TODO Auto-generated method stub
		
	}

	public int getTreatment_track_history_id() {
		return treatment_track_history_id;
	}

	public void setTreatment_track_history_id(int treatment_track_history_id) {
		this.treatment_track_history_id = treatment_track_history_id;
	}

	public String getMedical_case_code() {
		return medical_case_code;
	}

	public void setMedical_case_code(String medical_case_code) {
		this.medical_case_code = medical_case_code;
	}

	public Timestamp getTreat_datetime() {
		return treat_datetime;
	}

	public void setTreat_datetime(Timestamp treat_datetime) {
		this.treat_datetime = treat_datetime;
	}

	public String getDiag_methods() {
		return diag_methods;
	}

	public void setDiag_methods(String diag_methods) {
		this.diag_methods = diag_methods;
	}

	public String getTreat_methods() {
		return treat_methods;
	}

	public void setTreat_methods(String treat_methods) {
		this.treat_methods = treat_methods;
	}

	public String getHispital_code() {
		return hispital_code;
	}

	public void setHispital_code(String hispital_code) {
		this.hispital_code = hispital_code;
	}
	
	
}
